package com.block.db.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 商户客户公海信息
 * </p>
 *
 * @author 
 * @since 2023-08-12
 */
@Getter
@Setter
@TableName("lq_merchant_data_pool_info")
public class MerchantDataPoolInfo implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private String dateInfo;

    private Integer infoId;
    private Integer taskId;

    private Integer deptId;

    private String appCode;

    private String appName;

    private String channelName;

    private String channelCode;

    private Long uid;// 客户ID
    private Long userId;// 系统用户ID

    /**
     * 是否已经分配给业务员
     */
    private Integer status;

    private Integer starNumber;

    private Integer stateInfo;

    private String remarkInfo;

      @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

      @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;

      private Long orderId;

      private Long orderItemId;
    private BigDecimal priceAmount;
    private BigDecimal costAmount;
    private BigDecimal payAmount;
}
